class Resource {
    String url
    String title
    String feedUrl
    java.sql.Timestamp lastUpdated           // update everty time when roti fetch contents 
    static hasMany = [ entries:Entry ]
    boolean autoFetch = true
    static constraints = {
        url(url:true, blank:false, unique:true)
    }
}
